#!/bin/sh
# Will need to run as the ldap user!

DATE=$(date "+%Y%m%d%H%M%S")

BACKUP_FILE="$HOME/.jim/jim-backup.$DATE.ldif"
echo "Exporting LDIF data to $BACKUP_FILE"
slapcat -s ou=jim,dc=lastweekend,dc=com,dc=au -l $BACKUP_FILE

